package model;

public class StopEating implements PhilosopherState{
	private static StopEating instance;
	public synchronized static StopEating getInstance() {
		if(instance == null){
			instance = new  StopEating();
		}
		return instance;
	}
	
	private StopEating(){}
	@Override
	public long getMaxWaitTime() {
		return 0;
	}

	@Override
	public void accept(final PhilosopherStateVisitor visitor) {
		visitor.visit(this);
	}

}
